﻿@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>微信公共平台测试</title>

    @Styles.Render("~/Content/dashBoard")
</head>

<body ng-app="wxTest">
    <input type="hidden" value="@Model.AppId" ng-model="appid" />
    <input type="hidden" value="@Model.AppSecret" ng-model="wxSetting.secret" />
    <input type="hidden" value="@Model.UserToken" ng-model="wxSetting.token" />

    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-3 col-md-2 sidebar">
                <h3 class="sub-header">微信公共平台测试</h3>
                <ul class="nav nav-sidebar">
                    <li ng-init="my_navIndex=1" ng-click="my_navIndex=1" ng-class="{active:my_navIndex==1}">
                        <a href="#/setting">接入设置</a>
                    </li>
                    <li ng-click="my_navIndex=2" ng-class="{active:my_navIndex==2}">
                        <a href="#/media">媒体文件</a>
                    </li>
                    <li ng-click="my_navIndex=3" ng-class="{active:my_navIndex==3}"><a href="#/user">用户管理</a></li>
                    <li ng-click="my_navIndex=4" ng-class="{active:my_navIndex==4}"><a href="#/menu">自定义菜单</a></li>
                    <li ng-click="my_navIndex=5" ng-class="{active:my_navIndex==5}"><a href="#/tui-guang">推广支持</a></li>
                </ul>
            </div>
            <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
                <div class="alert alert-success alert-dismissable" ng-show="my_alert">
                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                    <strong>{{my_result}}!</strong>
                </div>
                <div ng-view>
                </div>
            </div>
        </div>
    </div>

    @Scripts.Render("~/bundles/jquery", "~/bundles/bootstrap", "~/bundles/angular-app")
</body>
</html>